home *** CD-ROM | disk | FTP | other *** search
- Path: nntp-sc.barrnet.net!infoserv!billcorn!billcorn
- Message-ID: <766495d2712731t127@billcorn.infoserv.com>
- Date: Sun, 31 Dec 1995 07:15:24 -0800
- From: "Bill Cornutt" <billcorn@infoserv.com>
- X-Mailer: Infoserv Connection's WinMail
- Subject: Re: Turbo C
- Newsgroups: comp.lang.c
- References: <4c3r40$5uv@soap.news.pipex.net>
-
- ----------
- >Help!!
- >
- >I am trying to get a float from a string using the stdlib.h function
- >'atof'. However, when it calls this function I get the message
- >'scanf: floating point formats not linked
- >Abnormal program termination'
- >
- >Has anyone had this problem before.
- >
- >Nigel Merritt (fab35@dial.pipex.com / nigelm@dial.pipex.com)
- >
- >
-
- Does the message mean that a library was not linked into the
- program? Could it have something to do with the numeric
- coprocessor? Have you told the compiler you have a coprocessor
- and you really don't?
-
- The way I would attack the problem would be to write a VERY short
- program that just used this instruction. Try to input data to
- the function like you are using in the real program and see if it
- still fails.
-
- ---------
- Bill Cornutt
- billcorn@infoserv.com
- Located in Ione California USA.
- A small town in Northern California.
- Sitting against the foothills of the Mother Lode.
- ----------------------------------------------------
-